#ifndef TESTCONTENT_H_
#define TESTCONTENT_H_
#include "twcore/IContext.h"
namespace Test
{
	class TestContentFrame;
	class TestContent: public TWCore::IContext
	{
		Q_OBJECT
		static int TestContentCount;
		public:
			TestContent();
			virtual ~TestContent();
			QFrame* contentFrame();
			QString detailInfo();

			void getTweetContextInfo(TweetContextInfo& info)
			{
				int limit[3] = {140,160,180};
				QList<QColor> colors;
				colors << QColor(Qt::green) << QColor(Qt::yellow) << QColor(Qt::gray);
				info.wordCountLimit = limit[id];
				info.buttonBackground = colors.at(id);
			}
		private:
			TestContentFrame* m_frame;
			int id;
	};
}
#endif /* TESTCONTENT_H_ */
